package com.ving.test.mybatis01.session;

import com.ving.test.mybatis01.Configuration01;

/**
 * Created by liuweijie on 2019-11-19.
 */
public class SqlSessionFactoryBuilder01 {
    public SqlSessionFactory01 build(Configuration01 configuration01) {
        // 在这里加载配置（修改）
        configuration01.loadConfigrution();
        // 获取默认工厂
        return new SqlSessionFactory01();
    }
}
